package com.example.hospital_208.service;

import com.example.hospital_208.po.DoctorWork;

import java.util.List;

public interface DoctorWorkService {
    List<DoctorWork> listDoctorWorks();

    DoctorWork getDoctorWorkByDocIdAndDay(String doc_id, String day);

    List<DoctorWork> getDoctorWorksByDocId(String doc_id);  // 新增：根据医生ID查询排班

    List<DoctorWork> getDoctorWorksByDay(String day);  // 新增：根据日期查询排班

    int addDoctorWork(DoctorWork doctorWork);

    int editDoctorWork(DoctorWork doctorWork);

    int removeDoctorWork(String doc_id, String day);  // 保留原方法（可选）

    int removeDoctorWorksByDocId(String doc_id);  // 新增：根据医生ID删除排班
}